<div class="module-setting">
    <ol class="breadcrumb fn-clearfix">
        <li>网站维护</li>
        <li>C2C配置</li>
    </ol>
    <div class="ui-box">
        <form class="form-horizontal" role="form">
            <div class="form-group">
                <label for="assetCode" class="control-label">C2C各VIP等级保证金缴纳数量配置</label>
            </div>
            <div class="form-group">
                <label for="name" class="col-sm-2 control-label">VIP1 保证金数量：</label>
                <div class="col-sm-1">
                    <input type="text" maxlength="50" class="form-control" ng-model="vm.VipOne.assureAsset" placeholder="保证金数量" />
                </div>
                <div class="col-sm-1">
                    <button type="button" class="btn btn-primary" ng-click="vm.updata('VipOne','assureAsset','ensureAsset')">修改</button>
                </div>
            </div>
            <div class="form-group">
                <label for="name" class="col-sm-2 control-label">VIP2 保证金数量：</label>
                <div class="col-sm-1">
                    <input type="text" maxlength="50" class="form-control" ng-model="vm.VipTwo.assureAsset" placeholder="保证金数量" />
                </div>
                <div class="col-sm-1">
                    <button type="button" class="btn btn-primary" ng-click="vm.updata('VipTwo','assureAsset','ensureAsset')">修改</button>
                </div>
            </div>
            <div class="form-group">
                <label for="name" class="col-sm-2 control-label">VIP3 保证金数量：</label>
                <div class="col-sm-1">
                    <input type="text" maxlength="50" class="form-control" ng-model="vm.VipThree.assureAsset"
                        placeholder="保证金数量" />
                </div>
                <div class="col-sm-1">
                    <button type="button" class="btn btn-primary" ng-click="vm.updata('VipThree','assureAsset','ensureAsset')">修改</button>
                </div>
            </div>


            <div class="form-group">
                <label for="assetCode" class="control-label">C2C各VIP等级发布挂单配置</label>
            </div>
            <div class="form-group">
                <label for="name" class="col-sm-2 control-label">VIP1 发布挂单上限</label>
                <label for="name" class="col-sm-1 control-label">售卖区上限：</label>
                <div class="col-sm-1">
                    <input type="text" maxlength="50" class="form-control" ng-model="vm.VipOne.sellAdNum" placeholder="售卖区上限" />
                </div>
                <label for="name" class="col-sm-1 control-label">收购区上限：</label>
                <div class="col-sm-1">
                    <input type="text" maxlength="50" class="form-control" ng-model="vm.VipOne.buyAdNum" placeholder="收购区上限" />
                </div>
                <div class="col-sm-1">
                    <button type="button" class="btn btn-primary" ng-click="vm.updata('VipOne',['buyAdNum','sellAdNum'],'adNum')">修改</button>
                </div>
            </div>
            <div class="form-group">
                <label for="name" class="col-sm-2 control-label">VIP2 发布挂单上限</label>
                <label for="name" class="col-sm-1 control-label">售卖区上限：</label>
                <div class="col-sm-1">
                    <input type="text" maxlength="50" class="form-control" ng-model="vm.VipTwo.sellAdNum" placeholder="售卖区上限" />
                </div>
                <label for="name" class="col-sm-1 control-label">收购区上限：</label>
                <div class="col-sm-1">
                    <input type="text" maxlength="50" class="form-control" ng-model="vm.VipTwo.buyAdNum" placeholder="收购区上限" />
                </div>
                <div class="col-sm-1">
                    <button type="button" class="btn btn-primary" ng-click="vm.updata('VipTwo',['buyAdNum','sellAdNum'],'adNum')">修改</button>
                </div>
            </div>
            <div class="form-group">
                <label for="name" class="col-sm-2 control-label">VIP3 发布挂单上限</label>
                <label for="name" class="col-sm-1 control-label">售卖区上限：</label>
                <div class="col-sm-1">
                    <input type="text" maxlength="50" class="form-control" ng-model="vm.VipThree.sellAdNum" placeholder="售卖区上限" />
                </div>
                <label for="name" class="col-sm-1 control-label">收购区上限：</label>
                <div class="col-sm-1">
                    <input type="text" maxlength="50" class="form-control" ng-model="vm.VipThree.buyAdNum" placeholder="收购区上限" />
                </div>
                <div class="col-sm-1">
                    <button type="button" class="btn btn-primary" ng-click="vm.updata('VipThree',['buyAdNum','sellAdNum'],'adNum')">修改</button>
                </div>
            </div>

            <div class="form-group">
                <label for="assetCode" class="control-label">售卖区手续费</label>
            </div>
            <div class="form-group" ng-repeat="item in vm.list">
                <label for="webUrl" class="col-sm-2 control-label">{{item.assetCode}}</label>
                <div class="col-sm-1">
                    <input type="text" class="form-control" ng-model="vm.list[$index].sellCoinNum" maxlength="256"
                        placeholder="手续费配置" />
                </div>
                <div class="col-sm-1">
                    <button type="button" class="btn btn-primary" ng-click="vm.updata('','sellCoinNum','','assetCodeFee',$index,'SELL')">修改</button>
                </div>
            </div>

            <div class="form-group">
                <label for="assetCode" class="control-label">收购区手续费</label>
            </div>
            <div class="form-group" ng-repeat="item in vm.list">
                <label for="webUrl" class="col-sm-2 control-label">{{item.assetCode}}</label>
                <div class="col-sm-1">
                    <input type="text" class="form-control" ng-model="vm.list[$index].buyCoinNum" maxlength="256"
                        placeholder="手续费配置" />
                </div>
                <div class="col-sm-1">
                    <button type="button" class="btn btn-primary" ng-click="vm.updata('','buyCoinNum','','assetCodeFee',$index,'BUY')">修改</button>
                </div>
            </div>


            <div class="form-group">
                <label for="assetCode" class="control-label">c2c各VIP等级单笔售卖（收购）数量配置</label>
            </div>
            <div class="form-group">
                <label for="name" class="col-sm-2 control-label">VIP1 单笔数量上限</label>
                <label for="name" class="col-sm-1 control-label">售卖区单笔上限：</label>
                <div class="col-sm-1">
                    <input type="text" maxlength="50" class="form-control" ng-model="vm.VipOne.sellCoinNum" placeholder="售卖区单笔上限" />
                </div>
                <label for="name" class="col-sm-1 control-label">收购区单笔上限：</label>
                <div class="col-sm-1">
                    <input type="text" maxlength="50" class="form-control" ng-model="vm.VipOne.buyCoinNum" placeholder="收购区单笔上限" />
                </div>
                <div class="col-sm-1">
                    <button type="button" class="btn btn-primary" ng-click="vm.updata('VipOne',['buyCoinNum','sellCoinNum'],'adAssetNum')">修改</button>
                </div>
            </div>
            <div class="form-group">
                <label for="name" class="col-sm-2 control-label">VIP2 单笔数量上限</label>
                <label for="name" class="col-sm-1 control-label">售卖区单笔上限：</label>
                <div class="col-sm-1">
                    <input type="text" maxlength="50" class="form-control" ng-model="vm.VipTwo.sellCoinNum" placeholder="售卖区单笔上限" />
                </div>
                <label for="name" class="col-sm-1 control-label">收购区单笔上限：</label>
                <div class="col-sm-1">
                    <input type="text" maxlength="50" class="form-control" ng-model="vm.VipTwo.buyCoinNum" placeholder="收购区单笔上限" />
                </div>
                <div class="col-sm-1">
                    <button type="button" class="btn btn-primary" ng-click="vm.updata('VipTwo',['buyCoinNum','sellCoinNum'],'adAssetNum')">修改</button>
                </div>
            </div>
            <div class="form-group">
                <label for="name" class="col-sm-2 control-label">VIP3 单笔数量上限</label>
                <label for="name" class="col-sm-1 control-label">售卖区单笔上限：</label>
                <div class="col-sm-1">
                    <input type="text" maxlength="50" class="form-control" ng-model="vm.VipThree.sellCoinNum"
                        placeholder="售卖区单笔上限" />
                </div>
                <label for="name" class="col-sm-1 control-label">收购区单笔上限：</label>
                <div class="col-sm-1">
                    <input type="text" maxlength="50" class="form-control" ng-model="vm.VipThree.buyCoinNum"
                        placeholder="收购区单笔上限" />
                </div>
                <div class="col-sm-1">
                    <button type="button" class="btn btn-primary" ng-click="vm.updata('VipThree',['buyCoinNum','sellCoinNum'],'adAssetNum')">修改</button>
                </div>
            </div>
        </form>
    </div>

</div>